package cn.fjsay.java.demo1;

public class MyTest {
    public static void main(String[] args) {
        Teacher t=new Teacher();//实例化Teacher对象
        t.name="张老师";
        t.age=25;
        t.say();
        Manager m=new Manager();
        m.name="李经理";
        m.age=26;
        m.say();
    }
}
